add_library(formic_ham ham.cpp
                       tei.cpp
                       integral_transform.cpp
                       er_local.cpp
                       lowdin_local.cpp
                       freeze_core.cpp
           )
target_link_libraries(formic_ham formic_mpi
                                 formic_psi3
                                 formic_lapack
                                 formic_timing
                                 formic_input_base
                                 formic_numeric
                                 formic_output
                                 formic_command
                                 formic_random
                                 formic_vector
                     )

install(
        TARGETS
          formic_ham
        RUNTIME DESTINATION
          bin
        LIBRARY DESTINATION
          lib
        ARCHIVE DESTINATION
          lib
       )
